package com.puti.doctor.mapper;

import com.puti.doctor.domian.GoodsMarketing;

import java.util.List;


/**
 * 商品营销 商品营销Mapper接口
 *
 * @author puti
 * @date 2021-04-25
 */
public interface GoodsMarketingMapper
{
    /**
     * 查询商品营销 商品营销
     *
     * @param marketingId 商品营销 商品营销ID
     * @return 商品营销 商品营销
     */
    public GoodsMarketing selectGoodsMarketingById(Long marketingId);

    /**
     * 查询商品营销 商品营销列表
     *
     * @param goodsMarketing 商品营销 商品营销
     * @return 商品营销 商品营销集合
     */
    public List<GoodsMarketing> selectGoodsMarketingList(GoodsMarketing goodsMarketing);

    /**
     * 新增商品营销 商品营销
     *
     * @param goodsMarketing 商品营销 商品营销
     * @return 结果
     */
    public int insertGoodsMarketing(GoodsMarketing goodsMarketing);

    /**
     * 修改商品营销 商品营销
     *
     * @param goodsMarketing 商品营销 商品营销
     * @return 结果
     */
    public int updateGoodsMarketing(GoodsMarketing goodsMarketing);

    /**
     * 删除商品营销 商品营销
     *
     * @param marketingId 商品营销 商品营销ID
     * @return 结果
     */
    public int deleteGoodsMarketingById(Long marketingId);

    /**
     * 批量删除商品营销 商品营销
     *
     * @param marketingIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteGoodsMarketingByIds(Long[] marketingIds);

    public List<GoodsMarketing> selectMarketing(GoodsMarketing goodsMarketing);

    public List<GoodsMarketing> selectGoodsMarketing(GoodsMarketing goodsMarketing);

}
